<style type="text/css"> 
.value {
	background-image: url(./images/gridline58.gif);
	background-repeat: repeat-x;
	background-position: left top;
	border-left: 1px solid #e5e5e5;
	border-right: 1px solid #e5e5e5;
	padding:0;
	border-bottom: none;
	background-color:transparent;
}
.map td {
	padding: 4px 6px;
	border-bottom:1px solid #e5e5e5;
	border-left:1px solid #e5e5e5;
}
.value img {
	vertical-align: middle;
	margin: 5px 5px 5px 0px;
	max-width: 90%;

}
.map th {
	text-align: left;
	vertical-align:top;
}
.map {
	background-image:url(./images/bg_fade.png);
	background-repeat:repeat-x;
	background-position:left top;
	width: 100%;
}
.map caption {
	font-size:90%;
	font-style:italic;
}
.option {
	padding: 5px 5px 5px 0px;
	background-color:#FFF;
}
</style>

<script type="text/javascript">
function masque(id) {

   	var $tdmstats = jQuery.noConflict();
	
	$tdmstats(document).ready(function(){

	 if ($tdmstats("#masque_" +id+ ":visible").length != 0) {
		$tdmstats("#masque_" +id).fadeOut("fast", function() {
            $tdmstats("#masque_" +id).fadeIn("fast").hide();
        });
   
    } else {	    
	$tdmstats("#masque_" +id).fadeOut("fast", function() {
         $tdmstats("#masque_" +id).fadeIn("fast").show();
     });
}

	
});

}
</script>
<br />
<div align="right">
<select onchange="if(this.options[this.selectedIndex].value.length >0 )	{ window.document.location=this.options[this.selectedIndex].value;}">
		<option value=""><{$lang_traffic_report}></option>
		<option value="">--------</option>
		<option value="index.php?action=1"><{$lang_summary}></option>
		<option value="index.php?action=2"><{$lang_traffic}></option>
		<option value="">--------</option>
		<option value="index.php?action=3"><{$lang_visitor_info}></option>
		<option value="">--------</option>
	</select>
</div>

<{if $show_index}>
<br />
<h2><{$smarty.const._AM_TRAFFIC_REPORT}></h2>
<hr>
<br />
<div align="center">
<{if $perm_4}>
<div style="float:left; text-align:center; width:30%; padding:10px;" class="outer"><a href="index.php?action=1"><img src="./images/resum.png" title="<{$smarty.const._AM_SUMMARY}>"></a><br /><a href="index.php?action=1"><{$smarty.const._AM_SUMMARY}></a></div>
<{/if}>
<{if $perm_8}>
<div style="float:left; text-align:center; width:30%; padding:10px;" class="outer"><a href="index.php?action=2"><img src="./images/log.png" title="<{$smarty.const._AM_TRAFFIC}>"></a><br /><a href="index.php?action=2"><{$smarty.const._AM_TRAFFIC}></a></div>
<{/if}>
<{if $perm_16}>
<div style="float:left; text-align:center; width:30%; padding:10px;" class="outer"><a href="index.php?action=3"><img src="./images/user.png" title="<{$smarty.const._AM_VISITOR_INFO}>"></a><br /><a href="index.php?action=3"><{$smarty.const._AM_VISITOR_INFO}></a></div>
<{/if}>
<br style="clear: both;" />
</div>
<{/if}>
